package com.ruoyi.property.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账单催缴对象 pro_bill_manage_info
 * 
 * @author sux
 * @date 2021-06-30
 */
public class BillManageInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账单编号 */
    @Excel(name = "账单编号")
    private Long billId;

    /** 收费项目 */
    @Excel(name = "收费项目")
    private String payItems;

    /** 账单名称 */
    @Excel(name = "账单名称")
    private String billName;

    /** 累计应收 */
    @Excel(name = "累计应收")
    private BigDecimal receivable;

    /** 当期应收 */
    @Excel(name = "当期应收")
    private BigDecimal curReceivable;

    /** 实收金额 */
    @Excel(name = "实收金额")
    private BigDecimal receipts;

    /** 账单日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账单日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billTime;

    /** 账单类型（0当期账单 1往期账单） */
    @Excel(name = "账单类型", readConverterExp = "0=当期账单,1=往期账单")
    private String curBill;

    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setPayItems(String payItems) 
    {
        this.payItems = payItems;
    }

    public String getPayItems() 
    {
        return payItems;
    }
    public void setBillName(String billName) 
    {
        this.billName = billName;
    }

    public String getBillName() 
    {
        return billName;
    }
    public void setReceivable(BigDecimal receivable) 
    {
        this.receivable = receivable;
    }

    public BigDecimal getReceivable() 
    {
        return receivable;
    }
    public void setCurReceivable(BigDecimal curReceivable) 
    {
        this.curReceivable = curReceivable;
    }

    public BigDecimal getCurReceivable() 
    {
        return curReceivable;
    }
    public void setReceipts(BigDecimal receipts) 
    {
        this.receipts = receipts;
    }

    public BigDecimal getReceipts() 
    {
        return receipts;
    }
    public void setBillTime(Date billTime) 
    {
        this.billTime = billTime;
    }

    public Date getBillTime() 
    {
        return billTime;
    }
    public void setCurBill(String curBill) 
    {
        this.curBill = curBill;
    }

    public String getCurBill() 
    {
        return curBill;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("billId", getBillId())
            .append("payItems", getPayItems())
            .append("billName", getBillName())
            .append("receivable", getReceivable())
            .append("curReceivable", getCurReceivable())
            .append("receipts", getReceipts())
            .append("billTime", getBillTime())
            .append("curBill", getCurBill())
            .toString();
    }
}
